﻿#include<iostream>
using namespace std;
int main()
{
	string str1,str2;
	cin >> str1;
	getline(cin, str2);
	cout << str1 << endl;
	cout << str2 << endl;
	return 0;
	
}